package com.itools.core.param;


/**
 * @project: itools-backend
 * @description:
 * @author: XUCHANG
 * @create: 2021-03-28 15:51
 */
public class FmsAccessTokenParam {
    /**
     * 有效时长
     */
    private int expiredTime;

    /**
     * 最大访问次数
     */
    private int maxAccessCount;

    /**
     * 文件访问唯一id
     */
    private String uniqueId;

    private String type;

    public FmsAccessTokenParam(int expiredTime, int maxAccessCount, String uniqueId, String type) {
        this.expiredTime = expiredTime;
        this.maxAccessCount = maxAccessCount;
        this.uniqueId = uniqueId;
        this.type = type;
    }

    public FmsAccessTokenParam() {
    }

    public int getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(int expiredTime) {
        this.expiredTime = expiredTime;
    }

    public int getMaxAccessCount() {
        return maxAccessCount;
    }

    public void setMaxAccessCount(int maxAccessCount) {
        this.maxAccessCount = maxAccessCount;
    }

    public String getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(String uniqueId) {
        this.uniqueId = uniqueId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
